/*******************************************************************************
* Copyright (c) 2012 
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* zhangliang - initial API and implementation
*******************************************************************************/

#ifndef UTILS_H
#define UTILS_H

namespace utils {

typedef boost::system::error_code      error_code;
typedef boost::system::error_condition error_condition;
typedef boost::system::error_category  error_category;
typedef boost::chrono::nanoseconds     nanoseconds;
typedef boost::chrono::microseconds    microseconds;
typedef boost::chrono::milliseconds    milliseconds;
typedef boost::chrono::steady_clock    steady_clock;
using boost::chrono::duration_cast;

} // namespace utils

#endif // UTILS_H

